#ifndef __HASH_TABLE_INTERFACE_H
#define __HASH_TABLE_INTERFACE_H


#define HASH_TABLE_LEN  10
#define DIGIT_U16       5


typedef enum
{
    HASH_TABLE_ERR_NONE   = 0,
    HASH_TABLE_ERR_TABLE  = 1,
    HASH_TABLE_ERR_SEARCH = 2,
} hashTableErr_t;


hashTableErr_t HashTable_Create(table_t *pHashTable[][HASH_TABLE_LEN], table_t *pOriTable, uint32_t oriTableLen);
hashTableErr_t HashTable_Search(table_t *pHashTable[][HASH_TABLE_LEN], uint32_t idx, tableEntry_t **ppEntry);


#endif

